import { Api } from './../../providers/api-service';
import { Component } from '@angular/core';
import {  NavController, NavParams } from 'ionic-angular';

/**
 * 
 */

@Component({
  selector: 'page-page-reward',
  templateUrl: 'page-reward.html',
})
export class PageRewardPage {

  constructor(public navCtrl: NavController, public navParams: NavParams,
    public api: Api
  ) {
  }

  ionViewDidLoad() {
    //console.log('ionViewDidLoad PageRewardPage');
  }



  onKaiTong() {
    let options = [
      {
        icon: 'ios-arrow-forward',
        text: "支付宝",

        handler: () => {
          //console.log("支付宝");
        }
      },
      {
        text: "微信支付",
        handler: () => {
          //console.log("微信");
        }
      }
    ];
    this.api.presentActionSheet("选择支付方式", options);
  }

  openJiayou(){


  }
  
  tabMoney(val){


  }

}
